package com.yang.service.admin;


import com.yang.bean.*;
import com.yang.bean.common.BasePageInfo;
import com.yang.bean.common.CommonData;
import com.yang.bean.fxy.bo.IdsBo;
import com.yang.bean.yvo.PasswordBO;
import org.springframework.transaction.annotation.Transactional;

/**
 * @ClassName AdminUserService
 * @Description:
 * @Author TrueEnd
 * @Date 2022/9/7
 * @Version
 **/
@Transactional
public interface AdminUserService {

    CommonData<MarketUser> userList(String username, String mobile, BasePageInfo info);

    CommonData<MarketAddress> addressList(String name, Integer userId, BasePageInfo info);

    CommonData<MarketCollect> collectList(Integer userId, Integer valueId, BasePageInfo info);

    CommonData<MarketFootPrint> FootprintList(Integer userId, Integer goodsId, BasePageInfo info);

    CommonData<MarketSearchHistory> HistoryList(Integer userId, String keyword, BasePageInfo info);

    CommonData<MarketFeedback> FeedbackList(String username, Integer id, BasePageInfo info);

    CommonData<MarketRegion> regionList();

    CommonData<MarketBrand> brandList(Integer id,String name,BasePageInfo info);

    MarketUser userDetail(Integer id);

    void userUpdate(MarketUser user);

    void brandDelete(MarketBrand brand);

    MarketBrand brandUpdate(MarketBrand brand);

    CommonData<MarketNoticeAdmin> profileLsnotice(String title, String type, BasePageInfo info);

    MarketBrand brandCreate(MarketBrand brand);

    void profileCatnotice(MarketNoticeAdmin noticeAdmin);

    void profileBrmnotice(IdsBo ids);

    void profileBcatnotice(IdsBo ids);

    void updatePassword(PasswordBO passwordBO, MarketAdmin adminMsg);
}
